package com.weihong.it.edi.datasource;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/**
 * ${DESCRIPTION}
 *
 * @author muxiaoyu
 * @create 2017-02-22 13:55
 **/
public class DynamicDataSource extends AbstractRoutingDataSource{
    protected Object determineCurrentLookupKey() {
        return DataSourceHolder.getDataSource();
    }
}
